]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netback: remove redundant assignment
authorWei Liu <wei.liu2@citrix.com>
Tue, 6 Dec 2011 00:08:20 +0000 (00:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Dec 2011 18:14:24 +0000 (13:14 -0500)
commit16ecba2605a3bbd374cd993e532264e2d8de49e5
treece85eeb15a9254da1ccaadca2ca27673183c2f8b
parent1d187b34daaecbb87aa523ba46b92930a388cb21
netback: remove redundant assignment

New value for netbk->mmap_pages[pending_idx] is assigned in
xen_netbk_alloc_page(), no need for a second assignment which
exposes internal to the outside world.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c