kernel: relay: remove unnecessary NULL values from relay_open_buf
[linux-2.6-block.git] / kernel / relay.c
index a80fa01042e980324809f32a81b6e468c53be62e..83fe0325cde14d68d75f0b35318a034323692c18 100644 (file)
@@ -375,7 +375,7 @@ static struct dentry *relay_create_buf_file(struct rchan *chan,
  */
 static struct rchan_buf *relay_open_buf(struct rchan *chan, unsigned int cpu)
 {
-       struct rchan_buf *buf = NULL;
+       struct rchan_buf *buf;
        struct dentry *dentry;
 
        if (chan->is_global)