Skip to content

Commit

Permalink
ivshmem: shell: Remove redundant commands
Browse files Browse the repository at this point in the history
Remove commands which are already defined as subcommands for command
ivshmem. Moreover those commands recursively include themselves as
subcommands.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information
finikorg authored and nashif committed Aug 31, 2023
1 parent 8e0fc80 commit 1eab46e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/virtualization/virt_ivshmem_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,3 @@ SHELL_STATIC_SUBCMD_SET_CREATE(sub_ivshmem_cmds,

SHELL_CMD_REGISTER(ivshmem, &sub_ivshmem_cmds,
"IVshmem information", cmd_ivshmem_shmem);

SHELL_CMD_ARG_REGISTER(ivshmem_dump, &sub_ivshmem_cmds,
"Dump shared memory content",
cmd_ivshmem_dump, 3, 0);

SHELL_CMD_ARG_REGISTER(ivshmem_int, &sub_ivshmem_cmds,
"Notify a vector on an ivshmem peer",
cmd_ivshmem_int, 3, 0);

SHELL_CMD_ARG_REGISTER(ivshmem_get_notified, &sub_ivshmem_cmds,
"Get notification on vector",
cmd_ivshmem_get_notified, 2, 0);

0 comments on commit 1eab46e

Please sign in to comment.