mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	mac80211: remove redundant check
local->scan_req was tested in the previous line, so it can't be NULL. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
		
							parent
							
								
									8cd4d4563e
								
							
						
					
					
						commit
						ff5db4392c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -799,7 +799,7 @@ void ieee80211_scan_work(struct work_struct *work) | |||
| 	if (!sdata || !local->scan_req) | ||||
| 		goto out; | ||||
| 
 | ||||
| 	if (local->scan_req && !local->scanning) { | ||||
| 	if (!local->scanning) { | ||||
| 		struct cfg80211_scan_request *req = local->scan_req; | ||||
| 		int rc; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eliad Peller
						Eliad Peller