diff options
author | Weitao Hou <houweitaoo@gmail.com> | 2019-06-25 20:50:48 +0800 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-07-24 11:10:15 +0200 |
commit | 375f755899b8fc21196197e02aab26257df26e85 (patch) | |
tree | 92b0c0d9f4fc392989a6dbda49be98b7372b2a96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d4b890aec4bea7334ca2ca56fd3b12fb48a00cd1 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions