Commit 68cacda1 authored by Marcos Paulo de Souza's avatar Marcos Paulo de Souza Committed by Greg Kroah-Hartman
Browse files

staging: sep: sep_crypto.c: Remove useless function crypto_sep_dump_message

The function crypto_sep_dump_message don't have any use in this driver. So remove it.
Signed-off-by: default avatarMarcos Paulo de Souza <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 06501787
......@@ -84,28 +84,6 @@ static struct crypto_queue sep_queue;
static void sep_dequeuer(void *data);
* crypto_sep_dump_message - dump the message that is pending
* @sep: SEP device
* This will only print dump if DEBUG is set; it does
* follow kernel debug print enabling
static void crypto_sep_dump_message(struct sep_device *sep, void *msg)
#if 0
u32 *p;
u32 *i;
int count;
p = sep->shared_addr;
i = (u32 *)msg;
for (count = 0; count < 10 * 4; count += 4)
"[PID%d] Word %d of the message is %x (local)%x\n",
current->pid, count/4, *p++, *i++);
* sep_do_callback
* @work: pointer to work_struct
......@@ -1646,7 +1624,6 @@ static u32 crypto_post_op(struct sep_device *sep)
dev_dbg(&ta_ctx->sep_used->pdev->dev, "crypto post_op\n");
dev_dbg(&ta_ctx->sep_used->pdev->dev, "crypto post_op message dump\n");
crypto_sep_dump_message(ta_ctx->sep_used, ta_ctx->msg);
/* first bring msg from shared area to local area */
memcpy(ta_ctx->msg, sep->shared_addr,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment