]> 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)
commitfb6599e262c0863d875de8d1693eb1d16bdae648
treec12d12f5bf550823e34b5c26fef5cfd555dc29cd
parent15813af06aa0938fb5e726760abe614ebe37ed18
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