aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ath6kl/reorder
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-02-02 14:05:56 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-02 14:34:51 -0800
commita1d46529630cbe1072b7b7b1a0104655b47cd7de (patch)
tree202f8beb893a2e35524d221b10e19f7489057e54 /drivers/staging/ath6kl/reorder
parentf68057e6fab6943ea2c5867d8b72e4b08bef5f6e (diff)
downloadkernel_samsung_smdk4412-a1d46529630cbe1072b7b7b1a0104655b47cd7de.zip
kernel_samsung_smdk4412-a1d46529630cbe1072b7b7b1a0104655b47cd7de.tar.gz
kernel_samsung_smdk4412-a1d46529630cbe1072b7b7b1a0104655b47cd7de.tar.bz2
staging: ath6kl: Convert (status != A_OK) to (status)
Just use the status variable as a test not a comparison. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ath6kl/reorder')
-rw-r--r--drivers/staging/ath6kl/reorder/rcv_aggr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ath6kl/reorder/rcv_aggr.c b/drivers/staging/ath6kl/reorder/rcv_aggr.c
index 5eeb6e3..dc1ea55 100644
--- a/drivers/staging/ath6kl/reorder/rcv_aggr.c
+++ b/drivers/staging/ath6kl/reorder/rcv_aggr.c
@@ -92,7 +92,7 @@ aggr_init(ALLOC_NETBUFS netbuf_allocator)
A_PRINTF("going out of aggr_init..status %s\n",
(status == A_OK) ? "OK":"Error");
- if(status != A_OK) {
+ if (status) {
/* Cleanup */
aggr_module_destroy(p_aggr);
}