Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1126bc2e authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

drivers/misc/sgi-gru: make functions static



The functions gru_get_cb_exception_detail_str() and gru_abort() were
only called locally from that file. We can make them static.

Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Acked-by: default avatarDimitri Sivanich <sivanich@sgi.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a010d276
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -429,7 +429,7 @@ int gru_get_cb_exception_detail(void *cb,
	return 0;
}

char *gru_get_cb_exception_detail_str(int ret, void *cb,
static char *gru_get_cb_exception_detail_str(int ret, void *cb,
					     char *buf, int size)
{
	struct gru_control_block_status *gen = (void *)cb;
@@ -505,7 +505,7 @@ int gru_wait_proc(void *cb)
	return ret;
}

void gru_abort(int ret, void *cb, char *str)
static void gru_abort(int ret, void *cb, char *str)
{
	char buf[GRU_EXC_STR_SIZE];