diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/viohs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/viohs.c b/arch/sparc64/kernel/viohs.c index 8eb381fa0f28..09126fc338ba 100644 --- a/arch/sparc64/kernel/viohs.c +++ b/arch/sparc64/kernel/viohs.c | |||
@@ -90,6 +90,7 @@ static void flush_rx_dring(struct vio_driver_state *vio) | |||
90 | 90 | ||
91 | BUG_ON(!vio->desc_buf); | 91 | BUG_ON(!vio->desc_buf); |
92 | kfree(vio->desc_buf); | 92 | kfree(vio->desc_buf); |
93 | vio->desc_buf = NULL; | ||
93 | 94 | ||
94 | memset(dr, 0, sizeof(*dr)); | 95 | memset(dr, 0, sizeof(*dr)); |
95 | dr->ident = ident; | 96 | dr->ident = ident; |