ANDROID: sdcardfs: remove dead function open_flags_to_access_mode()
authorGreg Hackmann <ghackmann@google.com>
Tue, 16 May 2017 23:48:49 +0000 (16:48 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 21 Jun 2017 11:10:18 +0000 (16:40 +0530)
commitcb41d236c7cdb4f91a1699a14a3600ec5bf4759d
treec284a1fc7b9b71e1c69f07c530a8efefcc4723dd
parentb3b74e3b35cb9a61cf93ed50273153773361dd7c
ANDROID: sdcardfs: remove dead function open_flags_to_access_mode()

smatch warns about the suspicious formatting in the last line of
open_flags_to_access_mode().  It turns out the only caller was deleted
over a year ago by "ANDROID: sdcardfs: Bring up to date with Android M
permissions:", so we can "fix" the function's formatting by deleting it.

Change-Id: Id85946f3eb01722eef35b1815f405a6fda3aa4ff
Signed-off-by: Greg Hackmann <ghackmann@google.com>
fs/sdcardfs/packagelist.c
fs/sdcardfs/sdcardfs.h