selftests/x86/pkeys: Remove unused functions
authorIngo Molnar <mingo@kernel.org>
Tue, 13 Feb 2018 07:26:17 +0000 (08:26 +0100)
committerIngo Molnar <mingo@kernel.org>
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 <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/testing/selftests/x86/protection_keys.c