diff options
| author | Chaehyun Lim <[email protected]> | 2016-04-05 15:38:21 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-28 22:02:04 -0700 |
| commit | 8bf4d84dca744853fa53b96b4b4b5fbfa73d0cc0 (patch) | |
| tree | 423751793c623b911b95bd4b1644f816332be47a | |
| parent | cc1aa4c8e92b95e61309f563bbd41336553eae7f (diff) | |
staging: wilc1000: remove unused hif_drv in wilc_setup_multicast_filter
This patch removes unused hif_drv in wilc_setup_multicast_filter.
There is no need to check null and print debug log.
Signed-off-by: Chaehyun Lim <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index d4e7aaa8407f..47ecf894f86c 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -3954,12 +3954,6 @@ int wilc_setup_multicast_filter(struct wilc_vif *vif, bool enabled, int result = 0; struct host_if_msg msg; struct set_multicast *multicast_filter_param = &msg.body.multicast_info; - struct host_if_drv *hif_drv = vif->hif_drv; - - if (!hif_drv) { - netdev_err(vif->ndev, "driver is null\n"); - return -EFAULT; - } memset(&msg, 0, sizeof(struct host_if_msg)); |