staging:rtl8187se: Change argument type in function to bool
authorHimangi Saraogi <himangi774@gmail.com>
Fri, 7 Mar 2014 17:35:26 +0000 (23:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Mar 2014 00:23:18 +0000 (16:23 -0800)
commitbf9aac535e3142f6a48c1695d06353fccc3bd6ad
treec63f010b9276fa5ff9c9731fe40b2b1859a9197b
parent43f82a6a6e8df4c8ee69e235cfe3dd625a725c6c
staging:rtl8187se: Change argument type in function to bool

Since the argument morefrag is being used as a booleon in the function
rtl8180_tx, the type for the argument is changed to booleon in the
function definition and declaration. This ensures that the variable
morefrag is always in the range 0-1 and overflow dooes not cause errors
if it is assigned a value. Also, this improves code readability.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/r8180.h
drivers/staging/rtl8187se/r8180_core.c