VkCommandBuffer: Remove static Cast() method

This isn't used.

There's another Cast() declared at vk scope, below VkCommandBuffer that actually is used.

Bug: b/153462569
Change-Id: Id348676c9bb00aa934a972a2833ac6a1d3af54c1
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43575
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Tested-by: Ben Clayton <bclayton@google.com>
diff --git a/src/Vulkan/VkCommandBuffer.hpp b/src/Vulkan/VkCommandBuffer.hpp
index 582ae4d..825844d 100644
--- a/src/Vulkan/VkCommandBuffer.hpp
+++ b/src/Vulkan/VkCommandBuffer.hpp
@@ -54,11 +54,6 @@
 
 	CommandBuffer(Device *device, VkCommandBufferLevel pLevel);
 
-	static inline CommandBuffer *Cast(VkCommandBuffer object)
-	{
-		return reinterpret_cast<CommandBuffer *>(object);
-	}
-
 	void destroy(const VkAllocationCallbacks *pAllocator);
 
 	VkResult begin(VkCommandBufferUsageFlags flags, const VkCommandBufferInheritanceInfo *pInheritanceInfo);