Delete redundant return value check of platform_get_resource()
authorBelen Sarabia <belensarabia@gmail.com>
Mon, 27 Feb 2017 21:41:18 +0000 (22:41 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 6 Mar 2017 20:40:59 +0000 (15:40 -0500)
commit487d499c6758d81954d684f1dd8edc54257cad0f
tree67de1811ee0643c57eeb4a6730fa4bd932c5220d
parente3779f6a4e7359bc0f83c3e2d34702a6c495e66e
Delete redundant return value check of platform_get_resource()

Delete error handling from the result of a call to platform_get_resource()
when the value is immediately passed to devm_ioremap_resource().

Signed-off-by: Belen Sarabia <belensarabia@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_octeon.c