]> git.baikalelectronics.ru Git - kernel.git/commit
dm ioctl: remove double parentheses
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 17 Apr 2017 18:05:03 +0000 (11:05 -0700)
committerMike Snitzer <snitzer@redhat.com>
Mon, 24 Apr 2017 18:31:53 +0000 (14:31 -0400)
commite36215d87f301f9567c8c99fd34e6c3521a94ddf
treec12d12f5bf550823e34b5c26fef5cfd555dc29cd
parent9119fedddb5b630eec3f3e39c4e382d9f60cca07
dm ioctl: remove double parentheses

The extra pair of parantheses is not needed and causes clang to generate
warnings about the DM_DEV_CREATE_CMD comparison in validate_params().

Also remove another double parentheses that doesn't cause a warning.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-ioctl.c