diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-12-17 16:04:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:25 -0800 |
commit | 10935d052eef9441a551571ff5853f84a00b2fd4 (patch) | |
tree | 921ffe3962209af875358ee164dc6b3c62802f5c /drivers/hsi/hsi_core.h | |
parent | e0b2bbab0b569590e27161290f6ea549248356df (diff) | |
download | talos-op-linux-10935d052eef9441a551571ff5853f84a00b2fd4.tar.gz talos-op-linux-10935d052eef9441a551571ff5853f84a00b2fd4.zip |
aoe: initialize sysminor to avoid compiler warning
Because the minor_get and related functions use the return values for
errors, the compiler doesn't know that sysminor will always either 1) be
initialized in aoedev_by_aoeaddr by the call to minor_get, or 2) be
unused as the "goto out" is executed.
This patch avoids the compiler warning.
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hsi/hsi_core.h')
0 files changed, 0 insertions, 0 deletions