linux-hardened/drivers/staging/rtl8723au
Bhumika Goyal 4b25ce977e Staging: rtl8723au: Use min macro instead of ternary operator
This patch replaces ternary operator with macro min as it shorter and
thus increases code readability. Macro min return the minimum of the
two compared values.
Made a semantic patch for changes:

@@
type T;
T x;
T y;
@@
(
- x < y ? x : y
+ min(x,y)
|
- x > y ? x : y
+ max(x,y)
)

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
core staging: rtl8723au: core: Remove CamelCase 2016-03-11 22:09:09 -08:00
hal staging: rtl8723au: hal: Remove useless return variables 2016-03-10 19:44:34 -08:00
include Staging: rtl8723au: Replace header files 2016-02-14 16:49:09 -08:00
os_dep Staging: rtl8723au: Use min macro instead of ternary operator 2016-03-11 22:09:09 -08:00
Kconfig
Makefile staging: rtl8723au: Fold rtw_ack_tx_done23a() into rtw23a_sctx_done_err() 2014-12-02 16:40:00 -08:00
TODO staging: rtl8*: fix my email address up 2016-02-11 19:33:46 -08:00