dm raid: remove bogus const from decipher_sync_action() return type
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 17 Sep 2018 08:02:34 +0000 (10:02 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 18 Sep 2018 02:46:50 +0000 (22:46 -0400)
commit0328ba90407c82874f9f39f9a5a6e5ad6cb76f44
tree532dbbd801fcec8d8464e20da5aa96f5c5bf860e
parentb592211c33f745af67a3271ce77c10fc1e6d6241
dm raid: remove bogus const from decipher_sync_action() return type

With gcc-4.1.2:

    drivers/md/dm-raid.c:3357: warning: type qualifiers ignored on function return type

Remove the "const" keyword to fix this.

Fixes: 36a240a706d43383 ("dm raid: fix RAID leg rebuild errors")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid.c