diff options
author | viresh kumar <viresh.kumar@linaro.org> | 2015-08-10 09:12:26 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-08-12 18:32:21 +0300 |
commit | fc0a446152877d3a4e40166ddb19b6e0cb5f6567 (patch) | |
tree | 169815aacbf71c02b61973afbb7986deaa8f8f3a /drivers/md/dm-snap-persistent.c | |
parent | e80d1c805a3b2f0ad2081369be5dc5deedd5ee59 (diff) | |
download | linux-fc0a446152877d3a4e40166ddb19b6e0cb5f6567.tar.xz |
dm: remove unlikely() before IS_ERR()
IS_ERR() already contains an 'unlikely' compiler flag so there is no
need to do that again from IS_ERR() callers.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
-rw-r--r-- | drivers/md/dm-snap-persistent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-snap-persistent.c b/drivers/md/dm-snap-persistent.c index 808b8419bc48..bf71583296f7 100644 --- a/drivers/md/dm-snap-persistent.c +++ b/drivers/md/dm-snap-persistent.c @@ -533,7 +533,7 @@ static int read_exceptions(struct pstore *ps, chunk = area_location(ps, ps->current_area); area = dm_bufio_read(client, chunk, &bp); - if (unlikely(IS_ERR(area))) { + if (IS_ERR(area)) { r = PTR_ERR(area); goto ret_destroy_bufio; } |