aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2016-11-29 13:28:52 -0200
committerBoris Brezillon <[email protected]>2017-01-30 11:50:30 +0100
commit4339b7fdbb90ab579862b0fcde6ee0f342f12692 (patch)
tree1d49550af8f34b77c17030c867fb5f87633a9038 /tools/perf/scripts/python/net_dropmonitor.py
parent61babe943938bb41fcd7e2b1dec7d1537ea3892f (diff)
mtd: nand: lpc32xx_slc: Remove unneeded NULL check on 'rc'
devm_ioremap_resource() does a NULL check on the 'rc' argument, so remove the unneeded manual NULL check. While at it, place the 'rc' assignment just before devm_ioremap_resource() to improve readability. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Marek Vasut <[email protected]> Acked-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions