* [PATCH] usb: fix coding style issue
@ 2015-06-16 17:24 Kris Borer
0 siblings, 0 replies; only message in thread
From: Kris Borer @ 2015-06-16 17:24 UTC (permalink / raw)
To: gregkh; +Cc: stern, rafael.j.wysocki, linux-usb, linux-kernel, Kris Borer
Fixed coding style issue: newline after declaration
Signed-off-by: Kris Borer <kborer@gmail.com>
---
drivers/usb/core/driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c
index 818369a..6b5063e 100644
--- a/drivers/usb/core/driver.c
+++ b/drivers/usb/core/driver.c
@@ -160,6 +160,7 @@ static ssize_t remove_id_store(struct device_driver *driver, const char *buf,
spin_lock(&usb_driver->dynids.lock);
list_for_each_entry_safe(dynid, n, &usb_driver->dynids.list, node) {
struct usb_device_id *id = &dynid->id;
+
if ((id->idVendor == idVendor) &&
(id->idProduct == idProduct)) {
list_del(&dynid->node);
--
1.9.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-16 17:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-16 17:24 [PATCH] usb: fix coding style issue Kris Borer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®