Commit 2087ff3e authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

[PATCH] frv: fix uninitialised variable in atm nicstar driver

Fix an uninitialised variable warning in the atm nicstar driver.
Signed-off-by: default avatarDavid Howells <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 41be6aef
......@@ -2126,8 +2126,7 @@ static void process_rsq(ns_dev *card)
if (!ns_rsqe_valid(card->
while (ns_rsqe_valid(card->
do {
dequeue_rx(card, card->;
previous = card->;
......@@ -2135,7 +2134,7 @@ static void process_rsq(ns_dev *card)
card-> = card->rsq.base;
} while (ns_rsqe_valid(card->;
writel((((u32) previous) - ((u32) card->rsq.base)),
card->membase + RSQH);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment