Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23e7c47d authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: Remove unsed macro DEVICE_FLAGS_OPENED

parent f370872f
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -264,9 +264,6 @@ enum {
/* flags for options */
/* flags for options */
#define     DEVICE_FLAGS_UNPLUG          0x00000001UL
#define     DEVICE_FLAGS_UNPLUG          0x00000001UL


/* flags for driver status */
#define     DEVICE_FLAGS_OPENED          0x00010000UL

struct vnt_private {
struct vnt_private {
	/* mac80211 */
	/* mac80211 */
	struct ieee80211_hw *hw;
	struct ieee80211_hw *hw;
+0 −4
Original line number Original line Diff line number Diff line
@@ -562,8 +562,6 @@ static int vnt_start(struct ieee80211_hw *hw)


	vnt_int_start_interrupt(priv);
	vnt_int_start_interrupt(priv);


	priv->flags |= DEVICE_FLAGS_OPENED;

	ieee80211_wake_queues(hw);
	ieee80211_wake_queues(hw);


	return 0;
	return 0;
@@ -604,8 +602,6 @@ static void vnt_stop(struct ieee80211_hw *hw)


	priv->cmd_running = false;
	priv->cmd_running = false;


	priv->flags &= ~DEVICE_FLAGS_OPENED;

	device_free_tx_bufs(priv);
	device_free_tx_bufs(priv);
	device_free_rx_bufs(priv);
	device_free_rx_bufs(priv);
	device_free_int_bufs(priv);
	device_free_int_bufs(priv);