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)
commit01cda8d380129f605f3f1cd69bdc98ec6cef44ad
tree008496cc5257be82f440008a8adfe73e71107fd1
parentea3528c26a67bde111d0dd85fae474a559efce41
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