diff options
| author | Andrew Morton <[email protected]> | 2007-07-15 23:41:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-16 09:05:50 -0700 |
| commit | 4210df283cc703bc494f450c91b8311bdf7fe5ee (patch) | |
| tree | 942e72f356f55dae8c8f6b3d4e6bc033a2191323 /include/linux | |
| parent | 4e91672c76319aaed24ea3e784e238cf445c57cb (diff) | |
bd_claim_by_disk: fix warning
Fix this:
fs/block_dev.c: In function 'bd_claim_by_disk':
fs/block_dev.c:970: warning: 'found' may be used uninitialized in this function
and given that free_bd_holder() now needs free(NULL)-is-legal behaviour, we
can simplify bd_release_from_kobject().
Cc: Bjorn Steinbrink <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions