All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools: iio: remove unnecessary define guard from iio_utils.c
@ 2015-07-27 13:54 Joo Aun Saw
  2015-07-27 14:15 ` Daniel Baluta
  0 siblings, 1 reply; 3+ messages in thread
From: Joo Aun Saw @ 2015-07-27 13:54 UTC (permalink / raw)
  To: linux-iio; +Cc: jic23, Joo Aun Saw

From: Joo Aun Saw <jasaw@dius.com.au>

_IIO_UTILS_H_ define guard is unnecessary in iio_utils.c

Signed-off-by: Joo Aun Saw <jasaw@dius.com.au>
---
 tools/iio/iio_utils.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/iio/iio_utils.c b/tools/iio/iio_utils.c
index 1dcdf03..e9fbaf8 100644
--- a/tools/iio/iio_utils.c
+++ b/tools/iio/iio_utils.c
@@ -6,9 +6,6 @@
  * under the terms of the GNU General Public License version 2 as published by
  * the Free Software Foundation.
  */
-#ifndef _IIO_UTILS_H
-#define _IIO_UTILS_H
-
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -991,4 +988,3 @@ error_free:
 	return ret;
 }
 
-#endif /* _IIO_UTILS_H */
-- 
1.9.1


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

* Re: [PATCH] tools: iio: remove unnecessary define guard from iio_utils.c
  2015-07-27 13:54 [PATCH] tools: iio: remove unnecessary define guard from iio_utils.c Joo Aun Saw
@ 2015-07-27 14:15 ` Daniel Baluta
  2015-08-02 17:42   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Baluta @ 2015-07-27 14:15 UTC (permalink / raw)
  To: Joo Aun Saw; +Cc: linux-iio@vger.kernel.org, Jonathan Cameron

On Mon, Jul 27, 2015 at 4:54 PM, Joo Aun Saw <jasaw@dius.com.au> wrote:
> From: Joo Aun Saw <jasaw@dius.com.au>
>
> _IIO_UTILS_H_ define guard is unnecessary in iio_utils.c
>
> Signed-off-by: Joo Aun Saw <jasaw@dius.com.au>

Preferred way for the commit message subject is:

tools: iio: iio_utils: remove unnecessary define guard

Other than that it looks good to me.

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

* Re: [PATCH] tools: iio: remove unnecessary define guard from iio_utils.c
  2015-07-27 14:15 ` Daniel Baluta
@ 2015-08-02 17:42   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2015-08-02 17:42 UTC (permalink / raw)
  To: Daniel Baluta, Joo Aun Saw; +Cc: linux-iio@vger.kernel.org

On 27/07/15 15:15, Daniel Baluta wrote:
> On Mon, Jul 27, 2015 at 4:54 PM, Joo Aun Saw <jasaw@dius.com.au> wrote:
>> From: Joo Aun Saw <jasaw@dius.com.au>
>>
>> _IIO_UTILS_H_ define guard is unnecessary in iio_utils.c
>>
>> Signed-off-by: Joo Aun Saw <jasaw@dius.com.au>
> 
> Preferred way for the commit message subject is:
> 
> tools: iio: iio_utils: remove unnecessary define guard
> 
> Other than that it looks good to me.
> 
Applied to the togreg branch of iio.git - initially pushed out as
testing for the autobuilders to ignore it.

Thanks,

Jonathan

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

end of thread, other threads:[~2015-08-02 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 13:54 [PATCH] tools: iio: remove unnecessary define guard from iio_utils.c Joo Aun Saw
2015-07-27 14:15 ` Daniel Baluta
2015-08-02 17:42   ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.