selftests/x86/pkeys: Remove unused functions
authorIngo Molnar <[email protected]>
Tue, 13 Feb 2018 07:26:17 +0000 (08:26 +0100)
committerIngo Molnar <[email protected]>
Tue, 13 Feb 2018 08:04:56 +0000 (09:04 +0100)
commitce676638fe7b284132a7d7d5e7e7ad81bab9947e
tree1babf06a08b3d47445da30acd3d5ba7412a4288b
parentd8e92de8ef952bed88c56c7a44c02d8dcae0984e
selftests/x86/pkeys: Remove unused functions

This also gets rid of two build warnings:

  protection_keys.c: In function ‘dumpit’:
  protection_keys.c:419:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
     write(1, buf, nr_read);
     ^~~~~~~~~~~~~~~~~~~~~~

Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
tools/testing/selftests/x86/protection_keys.c