Skip to content

Commit

Permalink
rasdaemon: Fix return value type compiling warnning of configure Opti…
Browse files Browse the repository at this point in the history
…onal Features with --enable-amp-ns-decode and without --enable-sqlite3.

Fix return value type compiling warnning of configure Optional Features
with --enable-amp-ns-decode and without --enable-sqlite3.

Signed-off-by: Hunter He <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
hunterjaguar authored and mchehab committed Jan 22, 2024
1 parent 4484bee commit 2d96a5a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions non-standard-ampere.c
Original file line number Diff line number Diff line change
Expand Up @@ -676,35 +676,30 @@ static void record_amp_data(struct ras_ns_ev_decoder *ev_decoder,
enum amp_oem_data_type data_type,
int id, int64_t data, const char *text)
{
return 0;
}

static void record_amp_payload0_err(struct ras_ns_ev_decoder *ev_decoder,
const char *type_str, const char *subtype_str,
const struct amp_payload0_type_sec *err)
{
return 0;
}

static void record_amp_payload1_err(struct ras_ns_ev_decoder *ev_decoder,
const char *type_str, const char *subtype_str,
const struct amp_payload1_type_sec *err)
{
return 0;
}

static void record_amp_payload2_err(struct ras_ns_ev_decoder *ev_decoder,
const char *type_str, const char *subtype_str,
const struct amp_payload2_type_sec *err)
{
return 0;
}

static void record_amp_payload3_err(struct ras_ns_ev_decoder *ev_decoder,
const char *type_str, const char *subtype_str,
const struct amp_payload3_type_sec *err)
{
return 0;
}

static int store_amp_err_data(struct ras_ns_ev_decoder *ev_decoder, char *name)
Expand Down

0 comments on commit 2d96a5a

Please sign in to comment.