summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-10-27 10:30:12 +0300
committerRobert Mustacchi <rm@joyent.com>2017-11-07 15:39:38 +0000
commita3ef597505463b3755428d2fd18d4672af6e737a (patch)
tree1e8f975d8d464f429c6766b8ab9d8b252dfc46e5
parent4831c99d5b5557ba24f7e82638d52013bdfa6290 (diff)
downloadillumos-joyent-a3ef597505463b3755428d2fd18d4672af6e737a.tar.gz
8732 myri10ge: '__idstring' defined but not used
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/uts/common/io/myri10ge/drv/myri10ge.c15
-rw-r--r--usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c9
2 files changed, 4 insertions, 20 deletions
diff --git a/usr/src/uts/common/io/myri10ge/drv/myri10ge.c b/usr/src/uts/common/io/myri10ge/drv/myri10ge.c
index 256471ad47..d706e3ab70 100644
--- a/usr/src/uts/common/io/myri10ge/drv/myri10ge.c
+++ b/usr/src/uts/common/io/myri10ge/drv/myri10ge.c
@@ -34,11 +34,6 @@
* Copyright (c) 2016 by Delphix. All rights reserved.
*/
-#ifndef lint
-static const char __idstring[] =
- "@(#)$Id: myri10ge.c,v 1.186 2009-06-29 13:47:22 gallatin Exp $";
-#endif
-
#define MXGEFW_NDIS
#include "myri10ge_var.h"
#include "rss_eth_z8e.h"
@@ -1210,7 +1205,7 @@ abort:
int
myri10ge_send_cmd(struct myri10ge_priv *mgp, uint32_t cmd,
- myri10ge_cmd_t *data)
+ myri10ge_cmd_t *data)
{
mcp_cmd_t *buf;
char buf_bytes[sizeof (*buf) + 8];
@@ -5005,7 +5000,6 @@ myri10ge_watchdog(void *arg)
/*ARGSUSED*/
static int
myri10ge_get_coalesce(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *credp)
-
{
struct myri10ge_priv *mgp = (struct myri10ge_priv *)(void *)cp;
(void) mi_mpprintf(mp, "%d", mgp->intr_coal_delay);
@@ -5016,7 +5010,6 @@ myri10ge_get_coalesce(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *credp)
static int
myri10ge_set_coalesce(queue_t *q, mblk_t *mp, char *value,
caddr_t cp, cred_t *credp)
-
{
struct myri10ge_priv *mgp = (struct myri10ge_priv *)(void *)cp;
char *end;
@@ -5036,7 +5029,6 @@ myri10ge_set_coalesce(queue_t *q, mblk_t *mp, char *value,
/*ARGSUSED*/
static int
myri10ge_get_pauseparam(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *credp)
-
{
struct myri10ge_priv *mgp = (struct myri10ge_priv *)(void *)cp;
(void) mi_mpprintf(mp, "%d", mgp->pause);
@@ -5046,8 +5038,7 @@ myri10ge_get_pauseparam(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *credp)
/*ARGSUSED*/
static int
myri10ge_set_pauseparam(queue_t *q, mblk_t *mp, char *value,
- caddr_t cp, cred_t *credp)
-
+ caddr_t cp, cred_t *credp)
{
struct myri10ge_priv *mgp = (struct myri10ge_priv *)(void *)cp;
char *end;
@@ -5070,7 +5061,6 @@ myri10ge_set_pauseparam(queue_t *q, mblk_t *mp, char *value,
/*ARGSUSED*/
static int
myri10ge_get_int(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *credp)
-
{
(void) mi_mpprintf(mp, "%d", *(int *)(void *)cp);
return (0);
@@ -5080,7 +5070,6 @@ myri10ge_get_int(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *credp)
static int
myri10ge_set_int(queue_t *q, mblk_t *mp, char *value,
caddr_t cp, cred_t *credp)
-
{
char *end;
size_t new_value;
diff --git a/usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c b/usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c
index ba2177e0fe..2c98e7d690 100644
--- a/usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c
+++ b/usr/src/uts/common/io/myri10ge/drv/myri10ge_lro.c
@@ -24,11 +24,6 @@
* Use is subject to license terms.
*/
-#ifndef lint
-static const char __idstring[] =
- "@(#)$Id: myri10ge_lro.c,v 1.7 2009-06-29 13:47:22 gallatin Exp $";
-#endif
-
#include "myri10ge_var.h"
#define IP_OFFMASK 0x1fff
@@ -73,7 +68,7 @@ myri10ge_in_pseudo(unsigned int a, unsigned int b,
void
myri10ge_lro_flush(struct myri10ge_slice_state *ss, struct lro_entry *lro,
- struct myri10ge_mblk_list *mbl)
+ struct myri10ge_mblk_list *mbl)
{
struct ip *ip;
struct tcphdr *tcp;
@@ -134,7 +129,7 @@ myri10ge_lro_flush(struct myri10ge_slice_state *ss, struct lro_entry *lro,
int
myri10ge_lro_rx(struct myri10ge_slice_state *ss, mblk_t *m_head,
- uint32_t csum, struct myri10ge_mblk_list *mbl)
+ uint32_t csum, struct myri10ge_mblk_list *mbl)
{
struct ether_header *eh;
struct ip *ip;