Skip to content

Commit 46b160c

Browse files
Javier Gonzálezaxboe
authored andcommitted
lightnvm: make nvm_free static
Prefix the nvm_free static function with a missing static keyword. Signed-off-by: Javier González <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 4af3f75 commit 46b160c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/lightnvm/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ static int nvm_core_init(struct nvm_dev *dev)
999999
return ret;
10001000
}
10011001

1002-
void nvm_free(struct nvm_dev *dev)
1002+
static void nvm_free(struct nvm_dev *dev)
10031003
{
10041004
if (!dev)
10051005
return;

0 commit comments

Comments
 (0)