| .. | .. |
|---|
| 14 | 14 | #include <linux/affs_hardblocks.h> |
|---|
| 15 | 15 | |
|---|
| 16 | 16 | #include "check.h" |
|---|
| 17 | | -#include "amiga.h" |
|---|
| 18 | 17 | |
|---|
| 19 | 18 | static __inline__ u32 |
|---|
| 20 | 19 | checksum_block(__be32 *m, int size) |
|---|
| .. | .. |
|---|
| 42 | 41 | goto rdb_done; |
|---|
| 43 | 42 | data = read_part_sector(state, blk, §); |
|---|
| 44 | 43 | if (!data) { |
|---|
| 45 | | - if (warn_no_part) |
|---|
| 46 | | - pr_err("Dev %s: unable to read RDB block %d\n", |
|---|
| 47 | | - bdevname(state->bdev, b), blk); |
|---|
| 44 | + pr_err("Dev %s: unable to read RDB block %d\n", |
|---|
| 45 | + bdevname(state->bdev, b), blk); |
|---|
| 48 | 46 | res = -1; |
|---|
| 49 | 47 | goto rdb_done; |
|---|
| 50 | 48 | } |
|---|
| .. | .. |
|---|
| 85 | 83 | blk *= blksize; /* Read in terms partition table understands */ |
|---|
| 86 | 84 | data = read_part_sector(state, blk, §); |
|---|
| 87 | 85 | if (!data) { |
|---|
| 88 | | - if (warn_no_part) |
|---|
| 89 | | - pr_err("Dev %s: unable to read partition block %d\n", |
|---|
| 90 | | - bdevname(state->bdev, b), blk); |
|---|
| 86 | + pr_err("Dev %s: unable to read partition block %d\n", |
|---|
| 87 | + bdevname(state->bdev, b), blk); |
|---|
| 91 | 88 | res = -1; |
|---|
| 92 | 89 | goto rdb_done; |
|---|
| 93 | 90 | } |
|---|