diff options
author | David S. Miller <davem@davemloft.net> | 2009-06-16 03:46:54 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-16 04:56:57 -0700 |
commit | 32e5897da1fc5180aa817c81e6aca74a8f6b6957 (patch) | |
tree | 7f2460a40386a7367794ba1d60134d0dafdf732f /drivers/sbus/char | |
parent | 6ac5c610828c051666f667d2bdbd51fc15a59e98 (diff) | |
download | linux-32e5897da1fc5180aa817c81e6aca74a8f6b6957.tar.bz2 |
openprom: Squelch useless GCC warning.
drivers/sbus/char/openprom.c: In function ‘openprom_sunos_ioctl’:
drivers/sbus/char/openprom.c:306: warning: ‘opp’ may be used uninitialized in this function
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char')
-rw-r--r-- | drivers/sbus/char/openprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/openprom.c b/drivers/sbus/char/openprom.c index 124f660a0383..75ac19b1192f 100644 --- a/drivers/sbus/char/openprom.c +++ b/drivers/sbus/char/openprom.c @@ -303,7 +303,7 @@ static int openprom_sunos_ioctl(struct inode * inode, struct file * file, struct device_node *dp) { DATA *data = file->private_data; - struct openpromio *opp; + struct openpromio *opp = NULL; int bufsize, error = 0; static int cnt; void __user *argp = (void __user *)arg; |