OSDN Git Service

rtl8188eu: Simplify rtw_endofpktfile() in xmit_linux.c
authorKrzysztof Konopko <kris@konagma.com>
Mon, 10 Nov 2014 18:54:22 +0000 (18:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:27:25 +0000 (15:27 -0800)
commit31d4cf12944ea7e578e4cef9b742da504dfbd444
tree29c9875dcd39de0da1da8f612f643e9d62eff77e
parent876e20d333c07b51b6452dbbd7f02c624b65e250
rtl8188eu: Simplify rtw_endofpktfile() in xmit_linux.c

scripts/checkpatch.pl reports a coding style problem in xmit_linux.c

  WARNING:BRACES: braces {} are not necessary for single statement blocks
  #61852: FILE: rtl8188eu/os_dep/xmit_linux.c:70:

This patch removes unnecessary braces and simplifies the function to a
single return statement.

Signed-off-by: Krzysztof Konopko <kris@konagma.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/xmit_linux.c