public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dma-debug: Remove local BUS_NOTIFY_UNBOUND_DRIVER define
@ 2012-10-01 18:48 Shuah Khan
  2012-10-02 10:14 ` Joerg Roedel
  0 siblings, 1 reply; 2+ messages in thread
From: Shuah Khan @ 2012-10-01 18:48 UTC (permalink / raw)
  To: joerg.roedel, paul.gortmaker, kubakici, stern, dan.carpenter
  Cc: LKML, shuahkhan

Remove local BUS_NOTIFY_UNBOUND_DRIVER define. This is not used since
BUS_NOTIFY_UNBOUND_DRIVER is defined in include/linux/device.h

Signed-off-by: Shuah Khan <shuah.khan@hp.com>
---
 lib/dma-debug.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/dma-debug.c b/lib/dma-debug.c
index 66ce414..b9087bf 100644
--- a/lib/dma-debug.c
+++ b/lib/dma-debug.c
@@ -120,11 +120,6 @@ static const char *type2name[4] = { "single", "page",
 static const char *dir2name[4] = { "DMA_BIDIRECTIONAL", "DMA_TO_DEVICE",
 				   "DMA_FROM_DEVICE", "DMA_NONE" };
 
-/* little merge helper - remove it after the merge window */
-#ifndef BUS_NOTIFY_UNBOUND_DRIVER
-#define BUS_NOTIFY_UNBOUND_DRIVER 0x0005
-#endif
-
 /*
  * The access to some variables in this macro is racy. We can't use atomic_t
  * here because all these variables are exported to debugfs. Some of them even
-- 
1.7.9.5





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dma-debug: Remove local BUS_NOTIFY_UNBOUND_DRIVER define
  2012-10-01 18:48 [PATCH] dma-debug: Remove local BUS_NOTIFY_UNBOUND_DRIVER define Shuah Khan
@ 2012-10-02 10:14 ` Joerg Roedel
  0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2012-10-02 10:14 UTC (permalink / raw)
  To: Shuah Khan
  Cc: paul.gortmaker, kubakici, stern, dan.carpenter, LKML, shuahkhan

On Mon, Oct 01, 2012 at 12:48:31PM -0600, Shuah Khan wrote:
> Remove local BUS_NOTIFY_UNBOUND_DRIVER define. This is not used since
> BUS_NOTIFY_UNBOUND_DRIVER is defined in include/linux/device.h
> 
> Signed-off-by: Shuah Khan <shuah.khan@hp.com>
> ---
>  lib/dma-debug.c |    5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/lib/dma-debug.c b/lib/dma-debug.c
> index 66ce414..b9087bf 100644
> --- a/lib/dma-debug.c
> +++ b/lib/dma-debug.c
> @@ -120,11 +120,6 @@ static const char *type2name[4] = { "single", "page",
>  static const char *dir2name[4] = { "DMA_BIDIRECTIONAL", "DMA_TO_DEVICE",
>  				   "DMA_FROM_DEVICE", "DMA_NONE" };
>  
> -/* little merge helper - remove it after the merge window */
> -#ifndef BUS_NOTIFY_UNBOUND_DRIVER
> -#define BUS_NOTIFY_UNBOUND_DRIVER 0x0005
> -#endif
> -

Thanks, applied.

-- 
AMD Operating System Research Center

Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-02 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-01 18:48 [PATCH] dma-debug: Remove local BUS_NOTIFY_UNBOUND_DRIVER define Shuah Khan
2012-10-02 10:14 ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox