diff options
Diffstat (limited to 'drivers/char/pcmcia')
-rw-r--r-- | drivers/char/pcmcia/synclink_cs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c index 02d7f046c10a..2c326ea53421 100644 --- a/drivers/char/pcmcia/synclink_cs.c +++ b/drivers/char/pcmcia/synclink_cs.c | |||
@@ -2994,8 +2994,7 @@ int rx_alloc_buffers(MGSLPC_INFO *info) | |||
2994 | 2994 | ||
2995 | void rx_free_buffers(MGSLPC_INFO *info) | 2995 | void rx_free_buffers(MGSLPC_INFO *info) |
2996 | { | 2996 | { |
2997 | if (info->rx_buf) | 2997 | kfree(info->rx_buf); |
2998 | kfree(info->rx_buf); | ||
2999 | info->rx_buf = NULL; | 2998 | info->rx_buf = NULL; |
3000 | } | 2999 | } |
3001 | 3000 | ||