Commit 633e5592 authored by Pavel Emelyanov's avatar Pavel Emelyanov

show: Remove dead code

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent b18fb09e
...@@ -54,13 +54,6 @@ ...@@ -54,13 +54,6 @@
static LIST_HEAD(pstree_list); static LIST_HEAD(pstree_list);
void show_fown_cont(void *p)
{
FownEntry *fown = p;
pr_msg("fown: uid: %#x euid: %#x signum: %#x pid_type: %#x pid: %u",
fown->uid, fown->euid, fown->signum, fown->pid_type, fown->pid);
}
static void pipe_data_handler(int fd, void *obj) static void pipe_data_handler(int fd, void *obj)
{ {
PipeDataEntry *e = obj; PipeDataEntry *e = obj;
......
...@@ -11,7 +11,6 @@ struct show_image_info { ...@@ -11,7 +11,6 @@ struct show_image_info {
}; };
extern void show_siginfo(int fd); extern void show_siginfo(int fd);
extern void show_fown_cont(void *p);
extern void sk_queue_data_handler(int fd, void *obj); extern void sk_queue_data_handler(int fd, void *obj);
extern void ipc_shm_handler(int fd, void *obj); extern void ipc_shm_handler(int fd, void *obj);
extern void ipc_msg_handler(int fd, void *obj); extern void ipc_msg_handler(int fd, void *obj);
......
...@@ -39,12 +39,6 @@ extern void do_pb_show_plain(int fd, int type, int single_entry, ...@@ -39,12 +39,6 @@ extern void do_pb_show_plain(int fd, int type, int single_entry,
#define pb_show_plain_pretty(__fd, __proto_message_name, __pretty) \ #define pb_show_plain_pretty(__fd, __proto_message_name, __pretty) \
pb_show_plain_payload_pretty(__fd, __proto_message_name, NULL, __pretty) pb_show_plain_payload_pretty(__fd, __proto_message_name, NULL, __pretty)
#define pb_show_plain(__fd, __type) \
pb_show_plain_payload(__fd, __type, NULL)
#define pb_show_vertical(__fd, __type) \
do_pb_show_plain(__fd, __type, 1, NULL, NULL)
struct collect_image_info { struct collect_image_info {
int fd_type; int fd_type;
int pb_type; int pb_type;
......
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