* [PATCH net-next] e1000: Removing the unused macro PAGE_USE_COUNT()
@ 2009-02-17 14:59 Breno Leitao
2009-02-17 23:27 ` Jeff Kirsher
0 siblings, 1 reply; 3+ messages in thread
From: Breno Leitao @ 2009-02-17 14:59 UTC (permalink / raw)
To: netdev; +Cc: Brandeburg, Jesse
Removing the unused macro PAGE_USE_COUNT(), since there is no more reference
to it. The last reference was removed by Jesse's commit number
630b25cdf4e3f8c0a11eb04fc8436cc36653cd58.
Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
---
drivers/net/e1000/e1000_main.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index ca7cd7e..61b56ca 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -1877,8 +1877,6 @@ int e1000_setup_all_rx_resources(struct e1000_adapter *adapter)
* e1000_setup_rctl - configure the receive control registers
* @adapter: Board private structure
**/
-#define PAGE_USE_COUNT(S) (((S) >> PAGE_SHIFT) + \
- (((S) & (PAGE_SIZE - 1)) ? 1 : 0))
static void e1000_setup_rctl(struct e1000_adapter *adapter)
{
struct e1000_hw *hw = &adapter->hw;
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] e1000: Removing the unused macro PAGE_USE_COUNT()
2009-02-17 14:59 [PATCH net-next] e1000: Removing the unused macro PAGE_USE_COUNT() Breno Leitao
@ 2009-02-17 23:27 ` Jeff Kirsher
2009-02-19 22:39 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Kirsher @ 2009-02-17 23:27 UTC (permalink / raw)
To: Breno Leitao; +Cc: netdev, Brandeburg, Jesse
On Tue, Feb 17, 2009 at 6:59 AM, Breno Leitao <leitao@linux.vnet.ibm.com> wrote:
> Removing the unused macro PAGE_USE_COUNT(), since there is no more reference
> to it. The last reference was removed by Jesse's commit number
> 630b25cdf4e3f8c0a11eb04fc8436cc36653cd58.
>
> Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
> ---
> drivers/net/e1000/e1000_main.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
--
Cheers,
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] e1000: Removing the unused macro PAGE_USE_COUNT()
2009-02-17 23:27 ` Jeff Kirsher
@ 2009-02-19 22:39 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-02-19 22:39 UTC (permalink / raw)
To: jeffrey.t.kirsher; +Cc: leitao, netdev, jesse.brandeburg
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Date: Tue, 17 Feb 2009 15:27:01 -0800
> On Tue, Feb 17, 2009 at 6:59 AM, Breno Leitao <leitao@linux.vnet.ibm.com> wrote:
> > Removing the unused macro PAGE_USE_COUNT(), since there is no more reference
> > to it. The last reference was removed by Jesse's commit number
> > 630b25cdf4e3f8c0a11eb04fc8436cc36653cd58.
> >
> > Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
> > ---
> > drivers/net/e1000/e1000_main.c | 2 --
> > 1 files changed, 0 insertions(+), 2 deletions(-)
> >
>
> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Applied, thanks everyone.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-20 2:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 14:59 [PATCH net-next] e1000: Removing the unused macro PAGE_USE_COUNT() Breno Leitao
2009-02-17 23:27 ` Jeff Kirsher
2009-02-19 22:39 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).