diff options
author | Weitao Hou <houweitaoo@gmail.com> | 2019-06-25 14:50:48 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-07-24 11:10:15 +0200 |
commit | 375f755899b8fc21196197e02aab26257df26e85 (patch) | |
tree | 92b0c0d9f4fc392989a6dbda49be98b7372b2a96 /drivers/net/can/flexcan.c | |
parent | can: rcar_canfd: fix possible IRQ storm on high load (diff) | |
download | linux-375f755899b8fc21196197e02aab26257df26e85.tar.xz linux-375f755899b8fc21196197e02aab26257df26e85.zip |
can: mcp251x: add error check when wq alloc failed
add error check when workqueue alloc failed, and remove redundant code
to make it clear.
Fixes: e0000163e30e ("can: Driver for the Microchip MCP251x SPI CAN controllers")
Signed-off-by: Weitao Hou <houweitaoo@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Tested-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions