diff options
author | John Daiker <daikerjohn@gmail.com> | 2008-10-17 15:16:17 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:40 -0400 |
commit | 558875112c28c7b2744a92c9836c256dd57bc5b6 (patch) | |
tree | bf68c8283caebed06c453683ac2cd797d7868342 /drivers/net/wireless/rt2x00/rt2x00debug.c | |
parent | 0bbac08f0a23898787978c0b405474e453e9824c (diff) |
rt2x00: reduce checkpatch.pl errors
A few changes to reduce checkpatch.pl errors in the rt2x00 driver. For
the most part, I only fixed cosmetic things, and left the actual 'code
flow' untouched (hopefully)!
Diff is against wireless-testing HEAD.
Signed-off-by: John Daiker <daikerjohn@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00debug.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00debug.c b/drivers/net/wireless/rt2x00/rt2x00debug.c index 5cf4c859e39d..96bc0a0336f0 100644 --- a/drivers/net/wireless/rt2x00/rt2x00debug.c +++ b/drivers/net/wireless/rt2x00/rt2x00debug.c | |||
@@ -285,7 +285,7 @@ exit: | |||
285 | } | 285 | } |
286 | 286 | ||
287 | static unsigned int rt2x00debug_poll_queue_dump(struct file *file, | 287 | static unsigned int rt2x00debug_poll_queue_dump(struct file *file, |
288 | poll_table *wait) | 288 | poll_table *wait) |
289 | { | 289 | { |
290 | struct rt2x00debug_intf *intf = file->private_data; | 290 | struct rt2x00debug_intf *intf = file->private_data; |
291 | 291 | ||
@@ -377,7 +377,7 @@ static ssize_t rt2x00debug_read_crypto_stats(struct file *file, | |||
377 | if (*offset) | 377 | if (*offset) |
378 | return 0; | 378 | return 0; |
379 | 379 | ||
380 | data = kzalloc((1 + CIPHER_MAX)* MAX_LINE_LENGTH, GFP_KERNEL); | 380 | data = kzalloc((1 + CIPHER_MAX) * MAX_LINE_LENGTH, GFP_KERNEL); |
381 | if (!data) | 381 | if (!data) |
382 | return -ENOMEM; | 382 | return -ENOMEM; |
383 | 383 | ||