Skip to content

Commit

Permalink
staging/lustre/llite: mark ll_io_init() static
Browse files Browse the repository at this point in the history
It's not used anywhere out of this file.
Highlighted by sparse.

Signed-off-by: Oleg Drokin <[email protected]>
Reviewed-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
verygreen authored and gregkh committed Jan 3, 2017
1 parent b1bca45 commit a6c77da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/lustre/lustre/llite/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ static bool file_is_noatime(const struct file *file)
return false;
}

void ll_io_init(struct cl_io *io, const struct file *file, int write)
static void ll_io_init(struct cl_io *io, const struct file *file, int write)
{
struct inode *inode = file_inode(file);

Expand Down

0 comments on commit a6c77da

Please sign in to comment.