diff options
author | David S. Miller <davem@davemloft.net> | 2009-06-16 06:46:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-16 07:56:57 -0400 |
commit | 32e5897da1fc5180aa817c81e6aca74a8f6b6957 (patch) | |
tree | 7f2460a40386a7367794ba1d60134d0dafdf732f /drivers/sbus/char/openprom.c | |
parent | 6ac5c610828c051666f667d2bdbd51fc15a59e98 (diff) |
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/openprom.c')
-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, | |||
303 | struct device_node *dp) | 303 | struct device_node *dp) |
304 | { | 304 | { |
305 | DATA *data = file->private_data; | 305 | DATA *data = file->private_data; |
306 | struct openpromio *opp; | 306 | struct openpromio *opp = NULL; |
307 | int bufsize, error = 0; | 307 | int bufsize, error = 0; |
308 | static int cnt; | 308 | static int cnt; |
309 | void __user *argp = (void __user *)arg; | 309 | void __user *argp = (void __user *)arg; |