staging: wilc1000: remove redundant assignment of variable
This patch the removes the redundant assignement of the variable ret as its being overwritren before being used anywhere. Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
773116ea0b
commit
369f190a70
@ -1782,7 +1782,7 @@ static int wilc_wlan_stop(void)
|
||||
/******************************************************************************/
|
||||
reg = ((1 << 0) | (1 << 1) | (1 << 2) | (1 << 3) | (1 << 8) | (1 << 9) | (1 << 26) | (1 << 29) | (1 << 30) | (1 << 31)); /**/
|
||||
/**/
|
||||
ret = p->hif_func.hif_write_reg(WILC_GLB_RESET_0, reg); /**/
|
||||
p->hif_func.hif_write_reg(WILC_GLB_RESET_0, reg); /**/
|
||||
reg = ~(1 << 10); /**/
|
||||
/**/
|
||||
ret = p->hif_func.hif_write_reg(WILC_GLB_RESET_0, reg); /**/
|
||||
|
Loading…
Reference in New Issue
Block a user