[PATCH] staging: rtl8723au: remove unnecessary le32_to_cpu

2015-09-01 Thread Michał Bartoszkiewicz
The values passed to le32_to_cpu are already in the correct byte order. This fixes four "cast to restricted __le32" sparse warnings. Signed-off-by: Michał Bartoszkiewicz --- drivers/staging/rtl8723au/core/rtw_security.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) di

[PATCH] staging: most: make helper functions static

2015-08-24 Thread Michał Bartoszkiewicz
This fixes two "symbol was not declared. Should it be static?" sparse warnings. Signed-off-by: Michał Bartoszkiewicz --- drivers/staging/most/aim-sound/sound.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/most/aim-sound/sound.c b/drivers/st

[PATCH] staging: gs_fpgaboot: remove unnecessary return statements

2014-09-04 Thread Michał Bartoszkiewicz
This fixes "void function return statements are not generally useful" warnings from checkpatch.pl. Signed-off-by: Michał Bartoszkiewicz --- drivers/staging/gs_fpgaboot/io.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/gs_fpgaboot/io.c b/drivers/staging/g