diff options
author | James Morris <jmorris@namei.org> | 2010-05-06 14:21:04 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-05-06 14:21:04 +0200 |
commit | 043b4d40f53131c5f72eca2a46555fe35328a930 (patch) | |
tree | 02a40eeb688f7ed9730e26a22f39ad7e04378de2 /drivers/net/arm/ep93xx_eth.c | |
parent | TOMOYO: Use mutex_lock_interruptible. (diff) | |
parent | Merge branch 'zerolen' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarz... (diff) | |
download | linux-043b4d40f53131c5f72eca2a46555fe35328a930.tar.xz linux-043b4d40f53131c5f72eca2a46555fe35328a930.zip |
Merge branch 'master' into next
Conflicts:
security/keys/keyring.c
Resolved conflict with whitespace fix in find_keyring_by_name()
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/net/arm/ep93xx_eth.c')
-rw-r--r-- | drivers/net/arm/ep93xx_eth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/arm/ep93xx_eth.c b/drivers/net/arm/ep93xx_eth.c index 6995169d285a..cd17d09f385c 100644 --- a/drivers/net/arm/ep93xx_eth.c +++ b/drivers/net/arm/ep93xx_eth.c @@ -311,11 +311,6 @@ err: processed++; } - if (processed) { - wrw(ep, REG_RXDENQ, processed); - wrw(ep, REG_RXSTSENQ, processed); - } - return processed; } @@ -350,6 +345,11 @@ poll_some_more: goto poll_some_more; } + if (rx) { + wrw(ep, REG_RXDENQ, rx); + wrw(ep, REG_RXSTSENQ, rx); + } + return rx; } |