* [U-Boot] [PATCH] rkcommon.c: Remove unused rkcommon_spi_to_offset
@ 2017-06-09 2:33 Tom Rini
2017-06-12 10:51 ` [U-Boot] " Philipp Tomsich
2017-06-21 16:13 ` Philipp Tomsich
0 siblings, 2 replies; 3+ messages in thread
From: Tom Rini @ 2017-06-09 2:33 UTC (permalink / raw)
To: u-boot
This function is unused, remove. Reported by clang-3.8.
Fixes: a1c29d4b43dc ("rockchip: mkimage: set init_boot_size to avoid ...")
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
tools/rkcommon.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tools/rkcommon.c b/tools/rkcommon.c
index fd95abc79aed..a29dc6a5453a 100644
--- a/tools/rkcommon.c
+++ b/tools/rkcommon.c
@@ -226,11 +226,6 @@ static inline unsigned rkcommon_offset_to_spi(unsigned offset)
return ((offset & ~0x7ff) << 1) + (offset & 0x7ff);
}
-static inline unsigned rkcommon_spi_to_offset(unsigned offset)
-{
- return ((offset & ~0x7ff) >> 1) + (offset & 0x7ff);
-}
-
static int rkcommon_parse_header(const void *buf, struct header0_info *header0,
struct spl_info **spl_info)
{
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] rkcommon.c: Remove unused rkcommon_spi_to_offset
2017-06-09 2:33 [U-Boot] [PATCH] rkcommon.c: Remove unused rkcommon_spi_to_offset Tom Rini
@ 2017-06-12 10:51 ` Philipp Tomsich
2017-06-21 16:13 ` Philipp Tomsich
1 sibling, 0 replies; 3+ messages in thread
From: Philipp Tomsich @ 2017-06-12 10:51 UTC (permalink / raw)
To: u-boot
On Thu, 8 Jun 2017, Tom Rini wrote:
> This function is unused, remove. Reported by clang-3.8.
>
> Fixes: a1c29d4b43dc ("rockchip: mkimage: set init_boot_size to avoid ...")
> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
> tools/rkcommon.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/tools/rkcommon.c b/tools/rkcommon.c
> index fd95abc79aed..a29dc6a5453a 100644
> --- a/tools/rkcommon.c
> +++ b/tools/rkcommon.c
> @@ -226,11 +226,6 @@ static inline unsigned rkcommon_offset_to_spi(unsigned offset)
> return ((offset & ~0x7ff) << 1) + (offset & 0x7ff);
> }
>
> -static inline unsigned rkcommon_spi_to_offset(unsigned offset)
> -{
> - return ((offset & ~0x7ff) >> 1) + (offset & 0x7ff);
> -}
> -
> static int rkcommon_parse_header(const void *buf, struct header0_info *header0,
> struct spl_info **spl_info)
> {
>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] rkcommon.c: Remove unused rkcommon_spi_to_offset
2017-06-09 2:33 [U-Boot] [PATCH] rkcommon.c: Remove unused rkcommon_spi_to_offset Tom Rini
2017-06-12 10:51 ` [U-Boot] " Philipp Tomsich
@ 2017-06-21 16:13 ` Philipp Tomsich
1 sibling, 0 replies; 3+ messages in thread
From: Philipp Tomsich @ 2017-06-21 16:13 UTC (permalink / raw)
To: u-boot
On Thu, 8 Jun 2017, Tom Rini wrote:
> This function is unused, remove. Reported by clang-3.8.
>
> Fixes: a1c29d4b43dc ("rockchip: mkimage: set init_boot_size to avoid ...")
> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
Applied to u-boot-rockchip/master, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-21 16:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-09 2:33 [U-Boot] [PATCH] rkcommon.c: Remove unused rkcommon_spi_to_offset Tom Rini
2017-06-12 10:51 ` [U-Boot] " Philipp Tomsich
2017-06-21 16:13 ` Philipp Tomsich
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.