net: usb: Remove unnecessary '0' values from hasdata

hasdata does not need to be initialized to zero. It will be assigned a
value in the following judgment conditions.

Signed-off-by: Li kunyu <kunyu@nfschina.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Li kunyu 2022-07-01 15:18:02 +08:00 коммит произвёл David S. Miller
Родитель a48e789dd2
Коммит d0bf1fe645
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -280,7 +280,7 @@ static void catc_irq_done(struct urb *urb)
struct catc *catc = urb->context;
u8 *data = urb->transfer_buffer;
int status = urb->status;
unsigned int hasdata = 0, linksts = LinkNoChange;
unsigned int hasdata, linksts = LinkNoChange;
int res;
if (!catc->is_f5u011) {