Commit fd3e03d7 authored by Stefan Wahren's avatar Stefan Wahren Committed by Greg Kroah-Hartman
Browse files

staging: vchiq_arm: drop non-beneficial comments

parent a140f3a0
Loading
Loading
Loading
Loading
+0 −55
Original line number Diff line number Diff line
@@ -493,11 +493,6 @@ vchiq_blocking_bulk_transfer(unsigned int handle, void *data,

	return status;
}
/****************************************************************************
 *
 *   add_completion
 *
 ***************************************************************************/

static enum vchiq_status
add_completion(struct vchiq_instance *instance, enum vchiq_reason reason,
@@ -564,12 +559,6 @@ add_completion(struct vchiq_instance *instance, enum vchiq_reason reason,
	return VCHIQ_SUCCESS;
}

/****************************************************************************
 *
 *   service_callback
 *
 ***************************************************************************/

static enum vchiq_status
service_callback(enum vchiq_reason reason, struct vchiq_header *header,
		 unsigned int handle, void *bulk_userdata)
@@ -681,22 +670,12 @@ service_callback(enum vchiq_reason reason, struct vchiq_header *header,
		bulk_userdata);
}

/****************************************************************************
 *
 *   user_service_free
 *
 ***************************************************************************/
static void
user_service_free(void *userdata)
{
	kfree(userdata);
}

/****************************************************************************
 *
 *   close_delivered
 *
 ***************************************************************************/
static void close_delivered(struct user_service *user_service)
{
	vchiq_log_info(vchiq_arm_log_level,
@@ -759,11 +738,6 @@ static ssize_t vchiq_ioc_copy_element_data(void *context, void *dest,
	return maxsize;
}

/**************************************************************************
 *
 *   vchiq_ioc_queue_message
 *
 **************************************************************************/
static int
vchiq_ioc_queue_message(unsigned int handle,
			struct vchiq_element *elements,
@@ -1242,11 +1216,6 @@ static int vchiq_ioc_await_completion(struct vchiq_instance *instance,
	return ret;
}

/****************************************************************************
 *
 *   vchiq_ioctl
 *
 ***************************************************************************/
static long
vchiq_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
@@ -2003,12 +1972,6 @@ static int vchiq_release(struct inode *inode, struct file *file)
	return ret;
}

/****************************************************************************
 *
 *   vchiq_dump
 *
 ***************************************************************************/

int vchiq_dump(void *dump_context, const char *str, int len)
{
	struct dump_context *context = (struct dump_context *)dump_context;
@@ -2050,12 +2013,6 @@ int vchiq_dump(void *dump_context, const char *str, int len)
	return 0;
}

/****************************************************************************
 *
 *   vchiq_dump_platform_instance_state
 *
 ***************************************************************************/

int vchiq_dump_platform_instances(void *dump_context)
{
	struct vchiq_state *state = vchiq_get_state();
@@ -2118,12 +2075,6 @@ int vchiq_dump_platform_instances(void *dump_context)
	return 0;
}

/****************************************************************************
 *
 *   vchiq_dump_platform_service_state
 *
 ***************************************************************************/

int vchiq_dump_platform_service_state(void *dump_context,
				      struct vchiq_service *service)
{
@@ -2149,12 +2100,6 @@ int vchiq_dump_platform_service_state(void *dump_context,
	return vchiq_dump(dump_context, buf, len + 1);
}

/****************************************************************************
 *
 *   vchiq_read
 *
 ***************************************************************************/

static ssize_t
vchiq_read(struct file *file, char __user *buf,
	size_t count, loff_t *ppos)
+0 −8
Original line number Diff line number Diff line
@@ -4,16 +4,8 @@
#ifndef VCHIQ_CONNECTED_H
#define VCHIQ_CONNECTED_H

/* ---- Include Files ----------------------------------------------------- */

/* ---- Constants and Types ---------------------------------------------- */

typedef void (*VCHIQ_CONNECTED_CALLBACK_T)(void);

/* ---- Variable Externs ------------------------------------------------- */

/* ---- Function Prototypes ---------------------------------------------- */

void vchiq_add_connected_callback(VCHIQ_CONNECTED_CALLBACK_T callback);
void vchiq_call_connected_callbacks(void);

+0 −5
Original line number Diff line number Diff line
@@ -11,11 +11,6 @@

#ifdef CONFIG_DEBUG_FS

/****************************************************************************
 *
 *   log category entries
 *
 ***************************************************************************/
#define DEBUGFS_WRITE_BUF_SIZE 256

#define VCHIQ_LOG_ERROR_STR   "error"