diff options
-rw-r--r-- | drivers/block/swim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/swim.c b/drivers/block/swim.c index 2f445b7a174e..8ed6ccb748cf 100644 --- a/drivers/block/swim.c +++ b/drivers/block/swim.c | |||
@@ -893,7 +893,7 @@ static int swim_probe(struct platform_device *dev) | |||
893 | 893 | ||
894 | swim_base = ioremap(res->start, resource_size(res)); | 894 | swim_base = ioremap(res->start, resource_size(res)); |
895 | if (!swim_base) { | 895 | if (!swim_base) { |
896 | return -ENOMEM; | 896 | ret = -ENOMEM; |
897 | goto out_release_io; | 897 | goto out_release_io; |
898 | } | 898 | } |
899 | 899 | ||