Message ID | 20180423123109.18590-4-christian.storm@siemens.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/8] core: warn about non-Linux parent SIGTERM tracking | expand |
On 23/04/2018 14:31, Christian Storm wrote: > The archive_handler as well as the boot_handler > don't rely on mtd/mtd-user.h being included, hence > remove these includes. > > Signed-off-by: Christian Storm <christian.storm@siemens.com> > --- > handlers/archive_handler.c | 1 - > handlers/boot_handler.c | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/handlers/archive_handler.c b/handlers/archive_handler.c > index 5773942..687958f 100644 > --- a/handlers/archive_handler.c > +++ b/handlers/archive_handler.c > @@ -17,7 +17,6 @@ > #include <string.h> > #include <pthread.h> > > -#include <mtd/mtd-user.h> Good catch, thanks ! > #include <archive.h> > #include <archive_entry.h> > > diff --git a/handlers/boot_handler.c b/handlers/boot_handler.c > index 7182217..791c7be 100644 > --- a/handlers/boot_handler.c > +++ b/handlers/boot_handler.c > @@ -11,7 +11,6 @@ > #include <sys/stat.h> > #include <unistd.h> > > -#include <mtd/mtd-user.h> > #include "generated/autoconf.h" > #include "swupdate.h" > #include "handler.h" > Reviewed-by: Stefano Babic <sbabic@denx.de> Best regards, Stefano Babic
diff --git a/handlers/archive_handler.c b/handlers/archive_handler.c index 5773942..687958f 100644 --- a/handlers/archive_handler.c +++ b/handlers/archive_handler.c @@ -17,7 +17,6 @@ #include <string.h> #include <pthread.h> -#include <mtd/mtd-user.h> #include <archive.h> #include <archive_entry.h> diff --git a/handlers/boot_handler.c b/handlers/boot_handler.c index 7182217..791c7be 100644 --- a/handlers/boot_handler.c +++ b/handlers/boot_handler.c @@ -11,7 +11,6 @@ #include <sys/stat.h> #include <unistd.h> -#include <mtd/mtd-user.h> #include "generated/autoconf.h" #include "swupdate.h" #include "handler.h"
The archive_handler as well as the boot_handler don't rely on mtd/mtd-user.h being included, hence remove these includes. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- handlers/archive_handler.c | 1 - handlers/boot_handler.c | 1 - 2 files changed, 2 deletions(-)