diff options
author | Edmond Chung <edmondchung@google.com> | 2023-06-09 17:47:26 -0700 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-06-13 14:59:16 +0000 |
commit | 549ad5034c14919cea58daf43e6f784dcd243dd0 (patch) | |
tree | 68ee70ad276609c14eadc53328a39babd05182c9 /lwis_device_spi.c | |
parent | 601b73a5cf88feb18fad42698e0423c21bc9ce4a (diff) | |
download | lwis-549ad5034c14919cea58daf43e6f784dcd243dd0.tar.gz |
Remove unnecessary error logs from kmalloc
Bug: 286438999
Test: Build
Change-Id: I02f0b13dd9f3b934eec345d98c61ef6e0e65fe5f
Signed-off-by: Edmond Chung <edmondchung@google.com>
Diffstat (limited to 'lwis_device_spi.c')
-rw-r--r-- | lwis_device_spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lwis_device_spi.c b/lwis_device_spi.c index 36e06f6..5a81cc5 100644 --- a/lwis_device_spi.c +++ b/lwis_device_spi.c @@ -117,7 +117,6 @@ static int lwis_spi_device_probe(struct spi_device *spi) /* Allocate SPI device specific data construct */ spi_dev = devm_kzalloc(dev, sizeof(*spi_dev), GFP_KERNEL); if (!spi_dev) { - dev_err(dev, "Failed to allocate spi device structure\n"); return -ENOMEM; } |