USB: usbmon: remove assignment from IS_ERR argument
commit46c236dc7d1212d7417e6fb0317f91c44c719322
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 26 Dec 2015 21:57:44 +0000 (26 22:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Jan 2016 00:55:59 +0000 (3 16:55 -0800)
tree4f19dfcccc20e5676a6c822da80b0d44bea71791
parent48346892ff2a2bd66301875ebffd408627419feb
USB: usbmon: remove assignment from IS_ERR argument

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e1,e2;
statement S1,S2;
@@

+e1 = e2;
if (IS_ERR(
    e1
-   = e2
   )) S1 else S2
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mon/mon_text.c