All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] DA850evm: Remove dead code
@ 2017-12-30 12:04 Adam Ford
  2018-01-19 21:13 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Ford @ 2017-12-30 12:04 UTC (permalink / raw)
  To: u-boot

There is an #ifdef and #endif with nothing in between.  This patch simply
removes this dead/useless code.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 4364649..3ca5965 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -303,17 +303,11 @@
 #define CONFIG_CLOCKS
 #endif
 
-#ifndef CONFIG_DRIVER_TI_EMAC
-#endif
-
 #ifdef CONFIG_USE_NAND
 #define CONFIG_MTD_DEVICE
 #define CONFIG_MTD_PARTITIONS
 #endif
 
-#ifdef CONFIG_USE_SPIFLASH
-#endif
-
 #if !defined(CONFIG_USE_NAND) && \
 	!defined(CONFIG_USE_NOR) && \
 	!defined(CONFIG_USE_SPIFLASH)
-- 
2.7.4

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

* [U-Boot] DA850evm: Remove dead code
  2017-12-30 12:04 [U-Boot] [PATCH] DA850evm: Remove dead code Adam Ford
@ 2018-01-19 21:13 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-01-19 21:13 UTC (permalink / raw)
  To: u-boot

On Sat, Dec 30, 2017 at 06:04:03AM -0600, Adam Ford wrote:

> There is an #ifdef and #endif with nothing in between.  This patch simply
> removes this dead/useless code.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 
> diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
> index 4364649..3ca5965 100644

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180119/be2b0968/attachment.sig>

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

end of thread, other threads:[~2018-01-19 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-30 12:04 [U-Boot] [PATCH] DA850evm: Remove dead code Adam Ford
2018-01-19 21:13 ` [U-Boot] " Tom Rini

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.