Author: aschnell Date: Tue Nov 10 10:30:25 2009 New Revision: 59441 URL: http://svn.opensuse.org/viewcvs/yast?rev=59441&view=rev Log: - removed unused function Modified: branches/tmp/mpatelcz/SP1-md/libstorage/src/Storage.cc branches/tmp/mpatelcz/SP1-md/libstorage/src/Storage.h Modified: branches/tmp/mpatelcz/SP1-md/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mpatelcz/SP1-md/libstorage... ============================================================================== --- branches/tmp/mpatelcz/SP1-md/libstorage/src/Storage.cc (original) +++ branches/tmp/mpatelcz/SP1-md/libstorage/src/Storage.cc Tue Nov 10 10:30:25 2009 @@ -3642,18 +3642,6 @@ return( i != p.end() ); } -bool Storage::haveMdPart( MdPartCo*& md ) -{ - md = NULL; - CPair p = cPair(); - ContIterator i = p.begin(); - while( i != p.end() && i->type()!=MDPART ) - ++i; - if( i != p.end() ) - md = static_cast<MdPartCo*>(&(*i)); - return( i != p.end() ); -} - bool Storage::haveNfs( NfsCo*& co ) { Modified: branches/tmp/mpatelcz/SP1-md/libstorage/src/Storage.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mpatelcz/SP1-md/libstorage... ============================================================================== --- branches/tmp/mpatelcz/SP1-md/libstorage/src/Storage.h (original) +++ branches/tmp/mpatelcz/SP1-md/libstorage/src/Storage.h Tue Nov 10 10:30:25 2009 @@ -1866,7 +1866,6 @@ bool findContainer( const string& device, ContIterator& c ); bool haveMd( MdCo*& md ); - bool haveMdPart( MdPartCo*& md ); bool haveNfs( NfsCo*& co ); bool haveLoop( LoopCo*& loop ); int removeContainer( Container* val, bool call_del=true ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org