]> git.baikalelectronics.ru Git - kernel.git/commit
staging: silicom: Remove needless calls of get_status_port_fn()
authorChristian Engelmayer <cengelma@gmx.at>
Wed, 7 May 2014 19:24:00 +0000 (21:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 11:40:41 +0000 (20:40 +0900)
commit90ffea29fcb5bbbcc163c2c601edb23feff3fa50
tree008496cc5257be82f440008a8adfe73e71107fd1
parent938bdcdce7260d5d4d78dd9b5fb26e604cc833bd
staging: silicom: Remove needless calls of get_status_port_fn()

Remove a needless pointer initialisation and call to get_status_port_fn()
in functions remove_bypass_tpl_auto() and set_tpl_fn(). Variable
'pbpctl_dev_b' is set correctly later in the function before first use.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bpctl_mod.c