[PATCH 1/2] Staging: silicom: Remove unnecessary variable from do_cmd()

2013-11-07 Thread Rupert Muchembled
Remove unnecessary variable ioctl from do_cmd(). As a consequence, this patch removes an assignment to ioctl in an if condition, reported by checkpatch.pl. Signed-off-by: Rupert Muchembled --- drivers/staging/silicom/bypasslib/bypass.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH 2/2] Staging: silicom: Remove unnecessary variable from get_bypass_info()

2013-11-07 Thread Rupert Muchembled
Remove unnecessary variable ioctl from get_bypass_info(). As a consequence, this patch removes an assignment to ioctl in an if condition, reported by checkpatch.pl. Signed-off-by: Rupert Muchembled --- drivers/staging/silicom/bypasslib/bypass.c | 8 1 file changed, 4 insertions(+), 4