diff options
Diffstat (limited to 'net/strparser/strparser.c')
-rw-r--r-- | net/strparser/strparser.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c index 3a512936eea9..da1a676860ca 100644 --- a/net/strparser/strparser.c +++ b/net/strparser/strparser.c | |||
@@ -408,8 +408,6 @@ EXPORT_SYMBOL_GPL(strp_data_ready); | |||
408 | 408 | ||
409 | static void do_strp_work(struct strparser *strp) | 409 | static void do_strp_work(struct strparser *strp) |
410 | { | 410 | { |
411 | read_descriptor_t rd_desc; | ||
412 | |||
413 | /* We need the read lock to synchronize with strp_data_ready. We | 411 | /* We need the read lock to synchronize with strp_data_ready. We |
414 | * need the socket lock for calling strp_read_sock. | 412 | * need the socket lock for calling strp_read_sock. |
415 | */ | 413 | */ |
@@ -421,8 +419,6 @@ static void do_strp_work(struct strparser *strp) | |||
421 | if (strp->paused) | 419 | if (strp->paused) |
422 | goto out; | 420 | goto out; |
423 | 421 | ||
424 | rd_desc.arg.data = strp; | ||
425 | |||
426 | if (strp_read_sock(strp) == -ENOMEM) | 422 | if (strp_read_sock(strp) == -ENOMEM) |
427 | queue_work(strp_wq, &strp->work); | 423 | queue_work(strp_wq, &strp->work); |
428 | 424 | ||