[RESEND PATCH 40/47] staging: ks7010: refactor ks_get_wireless_stats function

2018-05-03 Thread Sergio Paracuellos
This commit refactor a bit ks_get_wireless_stats using ternary operator for return code. It also change a comment to use preferred style. Signed-off-by: Sergio Paracuellos --- drivers/staging/ks7010/ks_wlan_net.c | 11 --- 1 file changed, 4 insertions(+), 7

[PATCH 40/47] staging: ks7010: refactor ks_get_wireless_stats function

2018-04-30 Thread Sergio Paracuellos
This commit refactor a bit ks_get_wireless_stats using ternary operator for return code. It also change a comment to use preferred style. Signed-off-by: Sergio Paracuellos --- drivers/staging/ks7010/ks_wlan_net.c | 11 --- 1 file changed, 4 insertions(+), 7