Quellcode durchsuchen

i40e: Remove "hello world" strings from i40e driver

While using the Linux "strings" command I found these two strings in the
driver.  There's no need for them and they're kinda silly.

Change-ID: I4e19b02983d48b631e9a9979f49790492845f221
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Greg Rose vor 10 Jahren
Ursprung
Commit
d1da3ac0ee
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      drivers/net/ethernet/intel/i40e/i40e_debugfs.c

+ 2 - 2
drivers/net/ethernet/intel/i40e/i40e_debugfs.c

@@ -318,7 +318,7 @@ static const struct file_operations i40e_dbg_dump_fops = {
  * setup, adding or removing filters, or other things.  Many of
  * setup, adding or removing filters, or other things.  Many of
  * these will be useful for some forms of unit testing.
  * these will be useful for some forms of unit testing.
  **************************************************************/
  **************************************************************/
-static char i40e_dbg_command_buf[256] = "hello world";
+static char i40e_dbg_command_buf[256] = "";
 
 
 /**
 /**
  * i40e_dbg_command_read - read for command datum
  * i40e_dbg_command_read - read for command datum
@@ -1940,7 +1940,7 @@ static const struct file_operations i40e_dbg_command_fops = {
  * The netdev_ops entry in debugfs is for giving the driver commands
  * The netdev_ops entry in debugfs is for giving the driver commands
  * to be executed from the netdev operations.
  * to be executed from the netdev operations.
  **************************************************************/
  **************************************************************/
-static char i40e_dbg_netdev_ops_buf[256] = "hello world";
+static char i40e_dbg_netdev_ops_buf[256] = "";
 
 
 /**
 /**
  * i40e_dbg_netdev_ops - read for netdev_ops datum
  * i40e_dbg_netdev_ops - read for netdev_ops datum