summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2012-07-27 16:08:00 +0200
committerAlasdair G Kergon <agk@redhat.com>2012-07-27 16:08:00 +0200
commit1df05483d758ea43abc375869fbe06be506ba827 (patch)
tree230f9e574467fbe34cb5a96120b9466bbc27d5f8 /drivers/md/dm-snap.c
parentdm stripe: fix size test (diff)
downloadlinux-1df05483d758ea43abc375869fbe06be506ba827.tar.xz
linux-1df05483d758ea43abc375869fbe06be506ba827.zip
dm stripe: remove stripes_mask
The structure stripe_c contains a stripes_mask field. This field is useless because it can be trivially calculated by subtracting one from stripes. It is used only at one place. This patch removes it. The patch also changes ffs(stripes) - 1 to __ffs(stripes). Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-snap.c')
0 files changed, 0 insertions, 0 deletions