diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-02-02 19:24:57 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2023-06-07 15:11:23 +0300 |
commit | 6b3b21a8542fd2fb6ffc61bc13b9419f0c58ebad (patch) | |
tree | f6833d3d5ad520865d27be4f0bb660da17868b43 /drivers/i2c/busses/i2c-sh7760.c | |
parent | 1ebafd5f5caaece1d25556cfb3a8f7fcb7629550 (diff) | |
download | linux-6b3b21a8542fd2fb6ffc61bc13b9419f0c58ebad.tar.xz |
i2c: Delete error messages for failed memory allocations
These issues were detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-sh7760.c')
-rw-r--r-- | drivers/i2c/busses/i2c-sh7760.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c index 60efa3a5e675..5a72fa729fad 100644 --- a/drivers/i2c/busses/i2c-sh7760.c +++ b/drivers/i2c/busses/i2c-sh7760.c @@ -445,7 +445,6 @@ static int sh7760_i2c_probe(struct platform_device *pdev) id = kzalloc(sizeof(struct cami2c), GFP_KERNEL); if (!id) { - dev_err(&pdev->dev, "no mem for private data\n"); ret = -ENOMEM; goto out0; } |