[Skiboot] [PATCH v2] opal/errorlog : Removes redundant header file inclusion

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu Mar 17 15:03:01 AEDT 2016


On 03/16/2016 11:47 AM, Mukesh Ojha wrote:
> Removes the redundant header file fsp-elog.h from hw/fsp/fsp-codeupdate.c
> and hw/p8-i2c.c
>
> Signed-off-by: Mukesh Ojha <mukesh02 at linux.vnet.ibm.com>

Acked-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

-Vasant

>
> ---
> Changes in v2:
>   - Removes the redundant comment.
>
>   hw/fsp/fsp-codeupdate.c | 1 -
>   hw/p8-i2c.c             | 2 --
>   2 files changed, 3 deletions(-)
>
> diff --git a/hw/fsp/fsp-codeupdate.c b/hw/fsp/fsp-codeupdate.c
> index f6293a0..2263bf3 100644
> --- a/hw/fsp/fsp-codeupdate.c
> +++ b/hw/fsp/fsp-codeupdate.c
> @@ -23,7 +23,6 @@
>   #include <ccan/endian/endian.h>
>   #include <errorlog.h>
>   #include <opal-api.h>
> -#include <fsp-elog.h>
>   #include <timebase.h>
>
>   #include "fsp-codeupdate.h"
> diff --git a/hw/p8-i2c.c b/hw/p8-i2c.c
> index 7ca5f70..593eb88 100644
> --- a/hw/p8-i2c.c
> +++ b/hw/p8-i2c.c
> @@ -28,8 +28,6 @@
>   #include <opal-msg.h>
>   #include <errorlog.h>
>   #include <centaur.h>
> -/* XXX SRC's will be moved to errorlog.h and then remove fsp-elog.h */
> -#include <fsp-elog.h>
>
>   DEFINE_LOG_ENTRY(OPAL_RC_I2C_INIT, OPAL_PLATFORM_ERR_EVT, OPAL_I2C,
>   		 OPAL_IO_SUBSYSTEM, OPAL_PREDICTIVE_ERR_DEGRADED_PERF,
>



More information about the Skiboot mailing list