mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:32:45 +00:00 
			
		
		
		
	Kernel/SysFS: Remove unused SysFSComponent::entries_count()
This commit is contained in:
		
							parent
							
								
									2da0581fd2
								
							
						
					
					
						commit
						d686d2ef18
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -20,7 +20,6 @@ namespace Kernel { | |||
| 
 | ||||
| class SysFSComponent : public RefCounted<SysFSComponent> { | ||||
| public: | ||||
|     virtual KResultOr<size_t> entries_count() const { VERIFY_NOT_REACHED(); }; | ||||
|     virtual StringView name() const { return m_name->view(); } | ||||
|     virtual KResultOr<size_t> read_bytes(off_t, size_t, UserOrKernelBuffer&, FileDescription*) const { VERIFY_NOT_REACHED(); } | ||||
|     virtual KResult traverse_as_directory(unsigned, Function<bool(FileSystem::DirectoryEntryView const&)>) const { VERIFY_NOT_REACHED(); } | ||||
|  | @ -44,7 +43,6 @@ private: | |||
| 
 | ||||
| class SysFSDirectory : public SysFSComponent { | ||||
| public: | ||||
|     virtual KResultOr<size_t> entries_count() const override { return m_components.size(); }; | ||||
|     virtual KResult traverse_as_directory(unsigned, Function<bool(FileSystem::DirectoryEntryView const&)>) const override; | ||||
|     virtual RefPtr<SysFSComponent> lookup(StringView name) override; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling