Skip to content
Snippets Groups Projects
Commit 2574f96c authored by Fancy Fang's avatar Fancy Fang Committed by Jason Liu
Browse files

MLK-16375-3 video: fbdev: dcss: add '__maybe_unused' to 'fill_db'


The function 'fill_db()' is not used at this moment
which caused gcc compiler generate the build warning:

"‘fill_db’ defined but not used [-Wunused-function]"

So add attribute '__maybe_unused' to 'fill_db()' functon
definition to avoid this build warning.

Signed-off-by: default avatarFancy Fang <chen.fang@nxp.com>
parent fa0d862a
No related merge requests found
...@@ -674,9 +674,9 @@ static void fill_sb(struct cbuffer *cb, ...@@ -674,9 +674,9 @@ static void fill_sb(struct cbuffer *cb,
cb->sb_data_len++; cb->sb_data_len++;
} }
static void fill_db(struct cbuffer *cb, static void __maybe_unused fill_db(struct cbuffer *cb,
uint32_t offset, uint32_t offset,
uint32_t value) uint32_t value)
{ {
struct ctxld_unit *unit = NULL; struct ctxld_unit *unit = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment