mirror of https://gitee.com/openkylin/linux.git
Staging: keucr: usb: fixed a brace coding style warning
Fixed a brace coding style warning. Signed-off-by: Zac Storer <zac.3.14159@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1c50bf7e41
commit
7d51b77ae1
|
@ -640,8 +640,7 @@ static int eucr_probe(struct usb_interface *intf, const struct usb_device_id *id
|
|||
|
||||
/* Start up the thread for delayed SCSI-device scanning */
|
||||
th = kthread_create(usb_stor_scan_thread, us, "eucr-stor-scan");
|
||||
if (IS_ERR(th))
|
||||
{
|
||||
if (IS_ERR(th)) {
|
||||
pr_info("Unable to start the device-scanning thread\n");
|
||||
complete(&us->scanning_done);
|
||||
quiesce_and_remove_host(us);
|
||||
|
|
Loading…
Reference in New Issue