of the
original code is "frowned upon"
according to mails on sparse context checking.
Refactoring removes the warning and makes the code more readable.
Signed-off-by: Cathal Mullaney
---
V2: Removed unnecessary variable initialization, as suggested by Tim Sell
.
drivers/staging/unisy
of the original
code is "frowned upon"
according to mails on sparse context checking.
Refactoring removes the warning and makes the code more readable.
Signed-off-by: Cathal Mullaney
---
drivers/staging/unisys/visorbus/visorchannel.c | 26 +-
1 file changed, 17 i
Fixed sparse warning; function not declared static.
Signed-off-by: Cathal Mullaney
---
drivers/staging/dgnc/dgnc_tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 953d931..ef9a45b 100644
--- a
Fixed several minor brace coding style issues.
Signed-off-by: Cathal Mullaney
---
drivers/staging/rts5208/rtsx_card.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/rts5208/rtsx_card.c
b/drivers/staging/rts5208/rtsx_card.c
index
Fixed three minor coding style issues.
Signed-off-by: Cathal Mullaney
---
drivers/staging/octeon/ethernet-rx.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/octeon/ethernet-rx.c
b/drivers/staging/octeon/ethernet-rx.c
index ce1e2a3..f0900d1 100644
--- a/drivers/staging
Fixed a coding style issue.
Signed-off-by: Cathal Mullaney
---
drivers/staging/dgnc/dgnc_tty.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c
index 31b18e6..fd46ef0 100644
--- a/drivers/staging/dgnc