Commit d0bf1fe6 authored by Li kunyu's avatar Li kunyu Committed by David S. Miller
Browse files

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: default avatarLi kunyu <kunyu@nfschina.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a48e789d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {