net: netvsc: remove break after return
In function netvsc_process_raw_pkt for VM_PKT_DATA_USING_XFER_PAGES case there is already a 'return' statement which results 'break' as dead code Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Link: https://lore.kernel.org/r/1646933534-29493-1-git-send-email-ssengar@linux.microsoft.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
515bb3071e
commit
8cf5ab362d
|
@ -1630,7 +1630,6 @@ static int netvsc_process_raw_pkt(struct hv_device *device,
|
|||
|
||||
case VM_PKT_DATA_USING_XFER_PAGES:
|
||||
return netvsc_receive(ndev, net_device, nvchan, desc);
|
||||
break;
|
||||
|
||||
case VM_PKT_DATA_INBAND:
|
||||
netvsc_receive_inband(ndev, net_device, desc);
|
||||
|
|
Loading…
Reference in New Issue