diff options
author | Doug Brown <doug@schmorgal.com> | 2024-07-14 18:55:11 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-08-26 14:01:49 +0300 |
commit | 3af5a1e7be84e0a5d6635dbedb13bd1ce4161414 (patch) | |
tree | 5b31772f3ed47e8512dccf85e1e3201aaca6d242 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | addc9ecb9ddb3fe77be3979cce021ad07442c1fc (diff) | |
download | linux-3af5a1e7be84e0a5d6635dbedb13bd1ce4161414.tar.xz |
mmc: sdhci-pxav2: Remove unnecessary null pointer check
There is no need to check for a null mrq->cmd in pxav1_request_done.
mmc_request_done already assumes it's not null, and it's always called
in this path by every SDHCI driver. This was caught by Smatch.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/9ddaef2a-05bb-4fe7-98c5-da40a0813027@stanley.mountain/
Signed-off-by: Doug Brown <doug@schmorgal.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240714155510.48880-1-doug@schmorgal.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions