xen-netback: remove dead code
Subsystems (3)
PATCH 1/1 xen-netback: remove dead code
The array mmap_pages is never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.
--- drivers/net/xen-netback/netback.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/net/xen-netback/netback.c +0 -4
@@ -1939,10 +1939,6 @@ static int __init netback_init(void) failed_init:while (--group >=0 ) {struct xen_netbk *netbk = &xen_netbk[group]; -for (i =0 ; i <MAX_PENDING_REQS ; i++) { -if (netbk->mmap_pages[i]) -__free_page (netbk->mmap_pages[i]); - }del_timer (&netbk->net_timer);kthread_stop (netbk->task); }
Signature · 1 line
1.7.10.4
Quoted 3 lines · Wei Liu
The array
mmap_pagesis never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.
This patch targets net-next.
Thanks
Wei.
Quoted 3 lines · Wei Liu
The array
mmap_pagesis never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.
This patch targets net-next.
Thanks
Wei.
David Miller
maintainerFrom: Wei Liu <[email protected]>
Date: Mon, 6 May 2013 17:10:33 +0100
Quoted 6 lines · Wei Liu
Quoted 3 lines
The array
mmap_pagesis never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.This patch targets net-next.
David Miller
maintainerFrom: Wei Liu <[email protected]>
Date: Mon, 6 May 2013 17:10:33 +0100
Quoted 6 lines · Wei Liu
Quoted 3 lines
The array
mmap_pagesis never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.This patch targets net-next.
Quoted 4 lines · David Miller
From: Wei Liu <[email protected]>
Date: Mon, 6 May 2013 17:10:33 +0100Quoted 1 line · Wei Liu
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
The array
mmap_pagesis never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.This patch targets net-next.
Got it.
Wei.
Quoted 3 lines
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · David Miller
From: Wei Liu <[email protected]>
Date: Mon, 6 May 2013 17:10:33 +0100Quoted 1 line · Wei Liu
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
The array
mmap_pagesis never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.This patch targets net-next.
Got it.
Wei.
Quoted 3 lines
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Wei Liu
The array
mmap_pagesis never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.
^not
Can you add a quick note about to the changelog about where this array is now initialised and freed please, with that:
Quoted 1 line
Signed-off-by Wei Liu <[email protected]>
Please resubmit when Dave opens net-next for new development.
Ian.
Quoted 19 lines
--- drivers/net/xen-netback/netback.c | 4 ---- 1 file changed, 4 deletions(-)drivers/net/xen-netback/netback.c +0
-4@@ -1939,10 +1939,6 @@ static int __init netback_init(void) failed_init:while (--group >=0 ) {struct xen_netbk *netbk = &xen_netbk[group]; -for (i =0 ; i <MAX_PENDING_REQS ; i++) { -if (netbk->mmap_pages[i]) -__free_page (netbk->mmap_pages[i]); - }del_timer (&netbk->net_timer);kthread_stop (netbk->task); }
Quoted 2 lines · Wei Liu
The array
mmap_pagesis never touched in the initialization function. This is remnant of mapping mechanism, which does exist upstream.
^not
Can you add a quick note about to the changelog about where this array is now initialised and freed please, with that:
Quoted 1 line
Signed-off-by Wei Liu <[email protected]>
Please resubmit when Dave opens net-next for new development.
Ian.
Quoted 19 lines
--- drivers/net/xen-netback/netback.c | 4 ---- 1 file changed, 4 deletions(-)drivers/net/xen-netback/netback.c +0
-4@@ -1939,10 +1939,6 @@ static int __init netback_init(void) failed_init:while (--group >=0 ) {struct xen_netbk *netbk = &xen_netbk[group]; -for (i =0 ; i <MAX_PENDING_REQS ; i++) { -if (netbk->mmap_pages[i]) -__free_page (netbk->mmap_pages[i]); - }del_timer (&netbk->net_timer);kthread_stop (netbk->task); }