mirror of https://gitee.com/openkylin/linux.git
ehea: make things static
ehea_flush_sq() and ehea_purge_sq() should be static. Cc: Jeff Garzik <jeff@garzik.org> Cc: Thomas Klein <osstklei@de.ibm.com> Cc: Thomas Klein <tklein@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
f62220d3a9
commit
22559c5d74
|
@ -2611,7 +2611,7 @@ static int ehea_stop(struct net_device *dev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
void ehea_purge_sq(struct ehea_qp *orig_qp)
|
||||
static void ehea_purge_sq(struct ehea_qp *orig_qp)
|
||||
{
|
||||
struct ehea_qp qp = *orig_qp;
|
||||
struct ehea_qp_init_attr *init_attr = &qp.init_attr;
|
||||
|
@ -2625,7 +2625,7 @@ void ehea_purge_sq(struct ehea_qp *orig_qp)
|
|||
}
|
||||
}
|
||||
|
||||
void ehea_flush_sq(struct ehea_port *port)
|
||||
static void ehea_flush_sq(struct ehea_port *port)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue