Skip to contentSkip to conversation

staging: android: ion: reorder variable definitions

PATCH In review Dmitry Kalinkin 2 participants 2 messages Jul 13, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: android: ion: reorder variable definitions

Prevents false positive "missing empty line after a definition" checkpatch warning.

---
 drivers/staging/android/ion/ion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/android/ion/ion.c +1 -1
index 6f48112..6c922c7 100644
@@ -1103,10 +1103,10 @@ static struct dma_buf_ops dma_buf_ops = {
 struct dma_buf *ion_share_dma_buf(struct ion_client *client,
 						struct ion_handle *handle)
 {
+	DEFINE_DMA_BUF_EXPORT_INFO(exp_info);
 	struct ion_buffer *buffer;
 	struct dma_buf *dmabuf;
 	bool valid_handle;
-	DEFINE_DMA_BUF_EXPORT_INFO(exp_info);
 
 	mutex_lock(&client->lock);
 	valid_handle = ion_handle_validate(client, handle);
Signature · 1 line
1.8.3.1