mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
wl3501_cs: remove pedantic build warning
drivers/net/wireless/wl3501_cs.c: In function ‘wl3501_esbq_exec’: drivers/net/wireless/wl3501_cs.c:387: warning: ‘tmp’ is used uninitialized in this function drivers/net/wireless/wl3501_cs.c:384: note: ‘tmp’ was declared here Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
98d3a7ca92
commit
a2fb0ad30a
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ static void wl3501_free_tx_buffer(struct wl3501_card *this, u16 ptr)
|
|||
|
||||
static int wl3501_esbq_req_test(struct wl3501_card *this)
|
||||
{
|
||||
u8 tmp;
|
||||
u8 tmp = 0;
|
||||
|
||||
wl3501_get_from_wla(this, this->esbq_req_head + 3, &tmp, sizeof(tmp));
|
||||
return tmp & 0x80;
|
||||
|
|
Loading…
Reference in a new issue