X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Fpb-config%2Fstorage-null.c;fp=lib%2Fpb-config%2Fstorage-null.c;h=0000000000000000000000000000000000000000;hp=b9fe6edad2fa53e07f9088ebd2dc179d676dc173;hb=c14b12980885edd035322cd3bc87efff444c39b1;hpb=dea7842fb28ff055b4e0f43a6a1fdaf3c4b5ba89;ds=sidebyside diff --git a/lib/pb-config/storage-null.c b/lib/pb-config/storage-null.c deleted file mode 100644 index b9fe6ed..0000000 --- a/lib/pb-config/storage-null.c +++ /dev/null @@ -1,19 +0,0 @@ - -#include - -#include "storage.h" - -static int load(struct config_storage *st __attribute__((unused)), - struct config *config __attribute__((unused))) -{ - return 0; -} - -static struct config_storage st = { - .load = load, -}; - -struct config_storage *create_null_storage(void *ctx __attribute__((unused))) -{ - return &st; -}