From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shraddha Barke Subject: [PATCH] Drivers: isdn: Drop unnecessary continue Date: Tue, 28 Jul 2015 14:11:08 +0530 Message-ID: <1438072868-5408-1-git-send-email-shraddha.6596@gmail.com> Cc: Shraddha Barke To: Karsten Keil , Julia Lawall , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org The semantic patch used to make this change is : @@ @@ for (...;...;...) { ... if (...) { ... - continue; } } Signed-off-by: Shraddha Barke --- drivers/isdn/hardware/mISDN/hfcsusb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/isdn/hardware/mISDN/hfcsusb.c b/drivers/isdn/hardware/mISDN/hfcsusb.c index 114f3bc..91beb83 100644 --- a/drivers/isdn/hardware/mISDN/hfcsusb.c +++ b/drivers/isdn/hardware/mISDN/hfcsusb.c @@ -1921,10 +1921,9 @@ hfcsusb_probe(struct usb_interface *intf, const struct usb_device_id *id) if ((le16_to_cpu(dev->descriptor.idVendor) == hfcsusb_idtab[i].idVendor) && (le16_to_cpu(dev->descriptor.idProduct) - == hfcsusb_idtab[i].idProduct)) { + == hfcsusb_idtab[i].idProduct)) vend_idx = i; - continue; - } + } printk(KERN_DEBUG -- 2.1.0