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>
This commit is contained in:
viresh kumar
2015-08-10 11:42:26 +05:30
committed by Mike Snitzer
parent e80d1c805a
commit fc0a446152
3 changed files with 6 additions and 6 deletions

View File

@@ -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;
}