summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2021-01-25 15:32:40 -0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-02-21 23:37:52 +0100
commit82a0c13a08d8265fe6412f8683a6011ce881df49 (patch)
tree9a84a51a919fc8cc9019e0ab56c84cc4ad991886 /drivers/block
parent857f6fde1c6e800b685c2da864dabd7ff9091dca (diff)
downloadlwn-82a0c13a08d8265fe6412f8683a6011ce881df49.tar.gz
lwn-82a0c13a08d8265fe6412f8683a6011ce881df49.zip
n64: remove curly brackets
Remove extra braces for the if which has only single statement. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Lauri Kasanen <cand@gmx.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/n64cart.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/n64cart.c b/drivers/block/n64cart.c
index c83a6af5a718..7906b5b2f12e 100644
--- a/drivers/block/n64cart.c
+++ b/drivers/block/n64cart.c
@@ -133,9 +133,8 @@ static int __init n64cart_probe(struct platform_device *pdev)
}
queue = blk_alloc_queue(NUMA_NO_NODE);
- if (!queue) {
+ if (!queue)
return -ENOMEM;
- }
reg_base = devm_platform_ioremap_resource(pdev, 0);
if (!reg_base) {